package cn.tide.question2.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("")
public class TestController {


    @RequestMapping("/test")
    @ResponseBody
    public Object test(String name,int age){

        String data = "n="+ name+"+"+"age="+age;

        System.out.println(data);

        return data;
    }
}
